package com.lsc.jdbc.demo.unit.testng.depends;

import org.testng.annotations.Test;

public class DependentTest {
    @Test(dependsOnMethods = {"OpenBrowser"})
    public void SinnIn() {
        System.out.println("SinnIn");
    }
    @Test
    public void OpenBrowser() {
        System.out.println("OpenBrowser");
    }

    @Test(dependsOnMethods = {"SinnIn"})
    public void LoginOut() {
        System.out.println("LoginOut");
    }
}
